<?php
/*
 * Created on 2011-5-13
 *
 * To change the template for this generated file go to
 * Window - Preferences - PHPeclipse - PHP - Code Templates
 */
 require_once('../nusoap/lib/nusoap.php');
 require("../Interface/interface.php");
 
  $server = new soap_server();
 $server->configureWSDL('LoverPetSDK','urn:LoverPetSDK');
 $server->wsdl->schemaTargetNamespace='urn:LoverPetSDK';
 $server->register("LovePet",
 	array('json'=>'xsd:string'),
 	array('return'=>'xsd:string'),
 	'urn:LoverPetSDK',
 	'urn:LoverPetSDK#LovePet');
 	
 $HTTP_RAW_POST_DATA=isset($HTTP_RAW_POST_DATA)?$HTTP_RAW_POST_DATA:'';
 $server->service($HTTP_RAW_POST_DATA);
?>
